template(name="shortcutsHeaderBar")
  h1
    if isMiniScreen
      a.back-btn(href="{{pathFor 'home'}}")
        i.fa.fa-chevron-left
      | {{_ 'keyboard-shortcuts'}}
    else
      a.back-btn(href="{{pathFor 'newHome'}}")
        i.fa.fa-chevron-left
      | {{_ 'keyboard-shortcuts'}}

template(name="shortcutsModalTitle")
  h2
    i.fa.fa-keyboard-o
    | {{_ 'keyboard-shortcuts'}}

template(name="keyboardShortcuts")
  .wrapper.shortcuts-list
    each mapping
      .shortcuts-list-item
        .shortcuts-list-item-keys
          each keys
            kbd= this
        .shortcuts-list-item-action {{_ action}}
